/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package sgt.onlinetest.controller;

import java.text.ParseException;
import java.util.logging.Level;
import java.util.logging.Logger;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;

/**
 * An intermediate class that automatically install sample data
 * @author Administrator
 */
public abstract class XServlet extends HttpServlet {

    @Override
    public void init() throws ServletException {
        super.init();
//        try {
//            SampleInstaller.installSample();
//        } catch (ParseException ex) {
//            Logger.getLogger(XServlet.class.getName()).log(Level.SEVERE, null, ex);
//            throw new ServletException(ex);
//        }

    }
}
